Skip to content

feat: add functional tests#111

Open
ErwanDecoster wants to merge 46 commits intomainfrom
feature/add-functional-tests
Open

feat: add functional tests#111
ErwanDecoster wants to merge 46 commits intomainfrom
feature/add-functional-tests

Conversation

@ErwanDecoster
Copy link
Contributor

@ErwanDecoster ErwanDecoster commented Jan 7, 2026

Note

Medium Risk
Adds Playwright browser tests and runs them on every PR/branch CI build, increasing CI runtime and introducing potential flakiness due to reliance on live app data and hardcoded IDs/URLs.

Overview
Adds Playwright end-to-end coverage for key unauthenticated flows (homepage tables, search behavior, list pages, and deal/task detail tabs) via new specs under tests/unlogged/ and a new playwright.config.ts with multi-browser projects and a Vite webServer.

Updates CI to run codegen, build, install Playwright browsers, execute Playwright tests, and upload the HTML report artifact; also adds @playwright/test + npm test script and ignores Playwright output directories in .gitignore.

Written by Cursor Bugbot for commit cf5474f. This will update automatically on new commits. Configure here.

ErwanDecoster and others added 30 commits October 15, 2025 11:24
…al count for apps, datasets, and workerpools
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…k Explorer link in SmartLinkGroup; add role to Tabs component
@ErwanDecoster ErwanDecoster self-assigned this Jan 7, 2026
@vercel
Copy link

vercel bot commented Jan 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
explorer-v2 Ready Ready Preview, Comment Mar 4, 2026 1:07pm

Request Review

@socket-security
Copy link

socket-security bot commented Jan 7, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​playwright/​test@​1.57.010010010099100

View full report

left: `${indicatorStyle.left}px`,
width: `${indicatorStyle.width}px`,
}}
role="tablist"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tablist role placed on wrong element

Medium Severity

The role="tablist" attribute is added to a decorative indicator <div> that visually shows the active tab selection. This div has no children and is purely for visual styling. The actual <Button> elements with role="tab" are rendered as siblings, not children of this tablist. According to ARIA specifications, tab elements must be owned by or contained within the tablist. The role="tablist" belongs on the outer container div (the one with ref={containerRef}) that actually holds the tab buttons.

Fix in Cursor Fix in Web


// Verify that the TASKS tab is visible
await expect(page.getByRole('tab', { name: 'TASKS' })).toBeVisible();
await expect(page.getByRole('tab', { name: 'TASKS' })).toBeVisible();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate test assertion for TASKS tab visibility

Low Severity

Both test files contain identical duplicate assertions checking for TASKS tab visibility on consecutive lines. The same expect(page.getByRole('tab', { name: 'TASKS' })).toBeVisible() appears twice in a row, which appears to be a copy-paste error that doesn't add any test value.

Additional Locations (1)

Fix in Cursor Fix in Web

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Copy link
Contributor

@Christophe-iExec Christophe-iExec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM to add playwright functional tests in the CI process , even if war from perfect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants